Problem Note 43745: PROC FREQ table titles repeated in RTF output
If a statistic is requested in the TABLES statement in PROC FREQ, the title that precedes the statistic table, "Statistics for Table of X by Y", is repeated in the RTF destination. The STARTPAGE=NO option must also be in effect in the ODS RTF statement.
The following code replicates the problem:
ods rtf file='filename.rtf' startpage=no;
proc freq data=dsn;
tables X*Y / chisq;
run;
ods rtf close;
In SAS 9.2, the work-around is to use ODS TAGSETS.RTF rather than ODS RTF to create the output. This is fixed in the RTF destination in SAS 9.3.
Operating System and Release Information
SAS System | Base SAS | Solaris for x64 | 9.21 | 9.3_M1 | 9.2 TS2M0 | 9.3 TS1M0 |
OpenVMS on HP Integrity | 9.21 | 9.3_M1 | 9.2 TS2M0 | 9.3 TS1M0 |
Linux for x64 | 9.21 | 9.3_M1 | 9.2 TS2M0 | 9.3 TS1M0 |
HP-UX IPF | 9.21 | 9.3_M1 | 9.2 TS2M0 | 9.3 TS1M0 |
Linux | 9.21 | 9.3_M1 | 9.2 TS2M0 | 9.3 TS1M0 |
64-bit Enabled Solaris | 9.21 | 9.3_M1 | 9.2 TS2M0 | 9.3 TS1M0 |
64-bit Enabled HP-UX | 9.21 | 9.3_M1 | 9.2 TS2M0 | 9.3 TS1M0 |
Windows Vista for x64 | 9.21 | 9.3_M1 | 9.2 TS2M0 | 9.3 TS1M0 |
64-bit Enabled AIX | 9.21 | 9.3_M1 | 9.2 TS2M0 | 9.3 TS1M0 |
Windows Vista | 9.21 | 9.3_M1 | 9.2 TS2M0 | 9.3 TS1M0 |
Microsoft Windows XP Professional | 9.21 | 9.3_M1 | 9.2 TS2M0 | 9.3 TS1M0 |
Microsoft Windows Server 2008 for x64 | 9.21 | 9.3_M1 | 9.2 TS2M0 | 9.3 TS1M0 |
Microsoft Windows Server 2003 for x64 | 9.21 | 9.3_M1 | 9.2 TS2M0 | 9.3 TS1M0 |
Microsoft Windows Server 2003 Standard Edition | 9.21 | 9.3_M1 | 9.2 TS2M0 | 9.3 TS1M0 |
Microsoft Windows Server 2003 Enterprise Edition | 9.21 | 9.3_M1 | 9.2 TS2M0 | 9.3 TS1M0 |
Microsoft Windows Server 2003 Datacenter Edition | 9.21 | 9.3_M1 | 9.2 TS2M0 | 9.3 TS1M0 |
Microsoft® Windows® for x64 | 9.21 | 9.3_M1 | 9.2 TS2M0 | 9.3 TS1M0 |
Microsoft Windows XP 64-bit Edition | 9.21 | 9.3_M1 | 9.2 TS2M0 | 9.3 TS1M0 |
Microsoft Windows Server 2003 Enterprise 64-bit Edition | 9.21 | 9.3_M1 | 9.2 TS2M0 | 9.3 TS1M0 |
Microsoft Windows Server 2003 Datacenter 64-bit Edition | 9.21 | 9.3_M1 | 9.2 TS2M0 | 9.3 TS1M0 |
Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.21 | 9.3_M1 | 9.2 TS2M0 | 9.3 TS1M0 |
z/OS | 9.21 | 9.3_M1 | 9.2 TS2M0 | 9.3 TS1M0 |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
PROC FREQ table titles are repeated in the RTF destination when STARTPAGE=NO is also used.
Type: | Problem Note |
Priority: | medium |
Date Modified: | 2011-07-15 10:54:15 |
Date Created: | 2011-07-14 14:14:20 |